From 74f917afa34d2e2699fc9fee7fe43c3fe81768ae Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 28 Jun 2011 12:19:15 +0100 Subject: [PATCH] libxl: disks: allow specification of "backendtype=phy|tap|qdisk" Signed-off-by: Ian Jackson Committed-by: Ian Jackson --- docs/misc/xl-disk-configuration.txt | 17 + tools/libxl/libxlu_disk_l.c | 690 +++++++++++++++------------- tools/libxl/libxlu_disk_l.h | 2 +- tools/libxl/libxlu_disk_l.l | 9 + 4 files changed, 395 insertions(+), 323 deletions(-) diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt index de0a75e1bc..91e0cc7284 100644 --- a/docs/misc/xl-disk-configuration.txt +++ b/docs/misc/xl-disk-configuration.txt @@ -139,6 +139,23 @@ cdrom Convenience alias for "devtype=cdrom". +backendtype= +-------------------------- + +Description: Specifies the backend implementation to use +Supported values: phy, tap, qdisk +Mandatory: No +Default value: Automatically determine which backend to use. + +This does not affect the guest's view of the device. It controls +which software implementation of the Xen backend driver us used. + +Not all backend drivers support all combinations of other options. +For example, "phy" does not support formats other than "raw". +Normally this option should not be specified, in which case libxl will +automatically determine the most suitable backend. + + script=